;(function($){
	$.fn.setting={powerful:null,middling:null,weak:null};
	$.fn.passwordStrength=function(options){
		var opts=$.extend($.fn.setting,options);
		var target=$(this);
		target.unbind("keyup").bind("keyup",function(){
			var password=$(this).val();
			if(password.match(/\W/)&&password.match(/\d/)&&password.match(/[a-zA-Z]/)){
				opts.powerful();
			}else if((password.match(/\d/)&&password.match(/[a-zA-Z]/))||(password.match(/[a-zA-Z]/)&&password.match(/\W/))||(password.match(/\d/)&&password.match(/\W/))){
				opts.middling();
			}else{
				opts.weak();
			}
		});
	};
})(jQuery);